import { fireEvent, screen } from '@testing-library/react'
import Sidebar from './Sidebar'
import { renderWithTranslation } from 'shared/lib/tests/renderWithTranslation/renderWithTranslation'
import { navLinks } from 'shared/config/routeConfig/routeConfig'

describe('SidebarComponent', () => {
    test('is rendered correctly on the page', () => {
        renderWithTranslation(<Sidebar navLinks={navLinks} state={false}/>)
        expect(screen.getAllByTestId('sidebar'))
    })
})
